package com.dbtimer.dbupdatespring.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 历史数据
 * @author 11092
 * @TableName OriginalData
 */
@TableName(value ="OriginalData")
@Data
public class OriginalDataEntity implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "ID")
    private Long id;

    /**
     * 对应报文表ID
     */
    @TableField(value = "MsgID")
    private Long msgId;

    /**
     * 出产编号
     */
    @TableField(value = "FacNum")
    private String facNum;

    /**
     * 站点编号
     */
    @TableField(value = "StationID")
    private String stationId;

    /**
     * 数据类型
     */
    @TableField(value = "DataType")
    private String dataType;

    /**
     * 数据值
     */
    @TableField(value = "Data")
    private Double data;

    /**
     * 采集时间
     */
    @TableField(value = "DataTime")
    private Date dataTime;

    /**
     * 信道
     */
    @TableField(value = "Chanal")
    private String chanal;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;


}